//商品详情的轮播图组件
<template>
  <Swiper class="details-swpier">
    <SwiperItem v-for="(item,index) in this.topImages" :key="index">
      <img :src="item" alt />
    </SwiperItem>
  </Swiper>
</template>
<script>
import { Swiper, SwiperItem } from "components/common/swiper";
export default {
  data() {
    return {};
  },
  created() {},
  methods: {},
  computed: {},
  components: {
    Swiper,
    SwiperItem
  },
  props: {
    topImages: {
      type: Array,
      default() {
        return [];
      }
    }
  }
};
</script>
<style scoped>
.details-swpier {
  height: 220px;
}
</style>